Class CDPNeighborImpl

java.lang.Object
com.cisco.pt.ipc.impl.IPCDataImpl
com.cisco.pt.ipc.sim.impl.CDPNeighborImpl
All Implemented Interfaces:
IPCData, CDPNeighbor

public class CDPNeighborImpl extends IPCDataImpl implements CDPNeighbor
  • Field Details

    • deviceId

      protected String deviceId
    • localPort

      protected String localPort
    • remotePort

      protected String remotePort
    • platform

      protected String platform
    • capability

      protected Byte capability
    • cdpVersion

      protected Byte cdpVersion
    • holdTime

      protected Byte holdTime
    • softwareVersion

      protected String softwareVersion
    • nativeVlan

      protected Short nativeVlan
  • Constructor Details

    • CDPNeighborImpl

      public CDPNeighborImpl()
  • Method Details

    • getDeviceId

      public String getDeviceId()
      Specified by:
      getDeviceId in interface CDPNeighbor
      Returns:
      String Returns a String
    • setDeviceId

      public void setDeviceId(String deviceId)
      Specified by:
      setDeviceId in interface CDPNeighbor
      Parameters:
      deviceId - Takes in a parameter of deviceId
    • getLocalPort

      public String getLocalPort()
      Specified by:
      getLocalPort in interface CDPNeighbor
      Returns:
      String Returns a String
    • setLocalPort

      public void setLocalPort(String localPort)
      Specified by:
      setLocalPort in interface CDPNeighbor
      Parameters:
      localPort - Takes in a parameter of localPort
    • getRemotePort

      public String getRemotePort()
      Specified by:
      getRemotePort in interface CDPNeighbor
      Returns:
      String Returns a String
    • setRemotePort

      public void setRemotePort(String remotePort)
      Specified by:
      setRemotePort in interface CDPNeighbor
      Parameters:
      remotePort - Takes in a parameter of remotePort
    • getPlatform

      public String getPlatform()
      Specified by:
      getPlatform in interface CDPNeighbor
      Returns:
      String Returns a String
    • setPlatform

      public void setPlatform(String platform)
      Specified by:
      setPlatform in interface CDPNeighbor
      Parameters:
      platform - Takes in a parameter of platform
    • getCapability

      public Byte getCapability()
      Specified by:
      getCapability in interface CDPNeighbor
      Returns:
      Byte Returns a Byte
    • setCapability

      public void setCapability(Byte capability)
      Specified by:
      setCapability in interface CDPNeighbor
      Parameters:
      capability - Takes in a parameter of capability
    • getCdpVersion

      public Byte getCdpVersion()
      Specified by:
      getCdpVersion in interface CDPNeighbor
      Returns:
      Byte Returns a Byte
    • setCdpVersion

      public void setCdpVersion(Byte cdpVersion)
      Specified by:
      setCdpVersion in interface CDPNeighbor
      Parameters:
      cdpVersion - Takes in a parameter of cdpVersion
    • getHoldTime

      public Byte getHoldTime()
      Specified by:
      getHoldTime in interface CDPNeighbor
      Returns:
      Byte Returns a Byte
    • setHoldTime

      public void setHoldTime(Byte holdTime)
      Specified by:
      setHoldTime in interface CDPNeighbor
      Parameters:
      holdTime - Takes in a parameter of holdTime
    • getSoftwareVersion

      public String getSoftwareVersion()
      Specified by:
      getSoftwareVersion in interface CDPNeighbor
      Returns:
      String Returns a String
    • setSoftwareVersion

      public void setSoftwareVersion(String softwareVersion)
      Specified by:
      setSoftwareVersion in interface CDPNeighbor
      Parameters:
      softwareVersion - Takes in a parameter of softwareVersion
    • getNativeVlan

      public Short getNativeVlan()
      Specified by:
      getNativeVlan in interface CDPNeighbor
      Returns:
      Short Returns a Short
    • setNativeVlan

      public void setNativeVlan(Short nativeVlan)
      Specified by:
      setNativeVlan in interface CDPNeighbor
      Parameters:
      nativeVlan - Takes in a parameter of nativeVlan
    • read

      public void read(EncodedBuffer buffer)
      Reads this object from an EncodedBuffer of raw data
      Specified by:
      read in interface IPCData
      Specified by:
      read in class IPCDataImpl
      Parameters:
      buffer - The EncodedBuffer that contains the raw data from which to construct this object